package blog.service;
import java.util.List;
import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import blog.entity.Notice;
import blog.mapper.NoticeMapper;

/**
 * 公告
 */
@Service
public class NoticeServiceImpl implements NoticeService {

    @Resource
    private NoticeMapper noticeMapper;

    /**
     * 查询公告信息
     */
    @Override
    public List<Notice> listNotice(Integer status)  {
        return noticeMapper.listNotice(status);
    }
}
